
public class State {

	private Coordinate coordinate;
	private boolean hasAgent = false;

	public State(int x, int y) {
		this.coordinate = new Coordinate(x, y);
	}

	public int getX() {
		return this.coordinate.getX();
	}

	public int getY() {
		return this.coordinate.getY();
	}

	public boolean containsAgent() {
		return this.hasAgent;
	}

	public void addAgent() {
		if(hasAgent){
			int i = 0;
		}
		this.hasAgent = true;
	}

	public void removeAgent() {
		this.hasAgent = false;
	}
}
